﻿namespace TeacherLoad.Classes
{
    internal class AcademicItem
    {
        private int _id = 0;
        private string _itemName = "Нет данных для отображения";

        public int Id { get => _id; set => _id = value; }
        public string ItemName { get => _itemName; set => _itemName = value; }

        public AcademicItem() { }

        public AcademicItem(int id, string itemName)
        {
            Id = id;
            ItemName = itemName;
        }

        public override string ToString()
        {
            return ItemName;
        }
    }
}
